local thb_weapon_recast = fk.CreateSkill {

  name = "thb_weapon_recast",

  tags = {  },
  
}



thb_weapon_recast:addEffect("active", {
  name = "thb_weapon_recast",
  prompt = "#thb_weapon_recast",
  on_use = function(_, room, effect)
    local player = effect.from
    local card = Fk:cloneCard("slash")
    local slash_skill = card.skill
    if player:usedCardTimes("slash", Player.HistoryPhase) < slash_skill:getMaxUseTime(player, Player.HistoryPhase, card, nil) then
      player:addCardUseHistory("slash", 1)
      room:recastCard(effect.cards, effect.from)
    end
  end
})

return thb_weapon_recast